package com.itheima.mapper;

import com.itheima.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {

    List<Student> findStudentByPage(String name, Integer degree, Integer clazzId);

    void saveStudent(Student student);

    Student findStudentById(Integer id);

    void updateStudentById(Student student);

    void deleteByIds(List<Integer> ids);

    void studentViolation(Integer id, Integer score);
}
